package cn.iocoder.yudao.module.security.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * security 错误码枚举类
 * <p>
 * security 系统，使用 1-202-100-000 段
 */
public interface ErrorCodeConstants {
    // ========== 公司资产管理 TODO 补充编号 ==========
    ErrorCode SECURITY_DEFAULT_ERROR = new ErrorCode(1_202_100_000, "{}");
    ErrorCode ASSET_NOT_EXISTS = new ErrorCode(1_202_100_001, "公司资产管理不存在");
    ErrorCode ASSET_EXISTS = new ErrorCode(1_202_100_002, "资产已存在，请确认资产列表或未确认列表是否有相同资产");
    ErrorCode DEVICE_NOT_EXISTS = new ErrorCode(1_202_200_001, "设备接入不存在");
    ErrorCode COMMUNICATE_NOT_EXISTS = new ErrorCode(1_202_300_001, "通信行为不存在");
    ErrorCode RISK_NOT_EXISTS = new ErrorCode(1_202_400_001, "风险分析不存在");
    ErrorCode WARN_LOG_NOT_EXISTS = new ErrorCode(1_202_500_001, "告警日志不存在");
    ErrorCode DEVICE_LOG_NOT_EXISTS = new ErrorCode(1_202_600_001, "终端日志不存在");
    ErrorCode WHITELIST_OPERATE_NOT_EXISTS = new ErrorCode(1_202_700_001, "白名单操作不存在");
    ErrorCode WHITELIST_EVENT_NOT_EXISTS = new ErrorCode(1_202_800_001, "白名单事件不存在");
    ErrorCode RULE_NOT_EXISTS = new ErrorCode(1_202_900_001, "规则不存在");

}